<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="UTF-8" isELIgnored="false" %>

<form id="updateBrandForm" method="post">
  <div style="margin-top: 100px;" align="center">
    <label>id:</label><br>
    <input class="easyui-textbox" type="text" name="id" data-options="required:true" />
  </div>
  <div style="margin-top: 10px;" align="center">
    <label>path:</label><br>
    <input class="easyui-textbox" type="text" name="path" data-options="required:true" />
  </div>
  <div style="margin-top: 10px;" align ="center">
    <label>品牌名称:</label><br>
    <input class="easyui-textbox" type="text" name="name" data-options="required:true" value="${param.status}"/>
  </div>

  <div style="margin-top:5px;" align="center">
    <input  class="easyui-filebox" name="brandimage" data-options="prompt:'choose image..',buttonText:'选择图片',buttonIcon:'icon-add',multiple:true,buttonAlign:'right'" style="width: 300px">
  </div>

</form>
<script type="text/javascript">

    $("#updateBrandForm").form('load',"${pageContext.request.contextPath}/brand/findById?id=${param.id}");

</script>

